hvm bios: Fix EDD pointer in int 13h, fn 48h BIOS call return buffer
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 17 Mar 2008 11:16:08 +0000 (11:16 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 17 Mar 2008 11:16:08 +0000 (11:16 +0000)
I ran into this when I was reviewing what was outstanding to get
NetWare to run fully virtualized.

The BIOS emulator code has the segment and offset backward in the
returned buffer for the int 13h, fn 48h BIOS call.

Signed-off-by: Bruce Rogers <brogers@novell.com>
tools/firmware/rombios/rombios.c

index a37879bd95c0e43daae62cc86ca9e52d569874cb..b6cb0552aa33efbf62fcf94bad2891a543bf0fe6 100644 (file)
@@ -779,8 +779,8 @@ typedef struct {
     Bit32u  sector_count1;
     Bit32u  sector_count2;
     Bit16u  blksize;
-    Bit16u  dpte_segment;
     Bit16u  dpte_offset;
+    Bit16u  dpte_segment;
     Bit16u  key;
     Bit8u   dpi_length;
     Bit8u   reserved1;